-- GENERATED SPELL FOR [Bogflare Needler] --


function spell0_20197(pUnit, Event) --@Lambent Blood,n/a--
pUnit:FullCastSpellOnTarget(35328,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20197', 2000, 1)
end

function Sorts_20197(pUnit, Event)
local choix_sorts_20197 = math.random(0, 0)
if choix_sorts_20197 == 0 then
pUnit:RegisterEvent('spell0_20197', 1, 1)
end
end

function mob20197_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20197', math.random(1500, 3000), 1)
end

function mob20197_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20197_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20197_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20197, 1, 'mob20197_Action')
RegisterUnitEvent(20197, 2, 'mob20197_Leave')
RegisterUnitEvent(20197, 3, 'mob20197_Kill')
RegisterUnitEvent(20197, 4, 'mob20197_Die')
